export function numberToCurrencyNo(value,rtn) {
    if(value==null||value==''||value==undefined||isNaN(value))
    {
        if(rtn==undefined)
        {
            return 0
        }
        else if(rtn)
        {
            return 0
        }
        else
        {
            return value
        }
        // return 0
        
    }
    else
    {
        return String(value).replace(/\B(?=(\d{3})+(?!\d))/g, ',')
    }
}